package com.java1234.view;

import java.awt.EventQueue;

import javax.swing.JInternalFrame;
import javax.swing.GroupLayout;
import javax.swing.GroupLayout.Alignment;
import java.awt.Color;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.LayoutStyle.ComponentPlacement;
import javax.swing.JTextField;

public class Java1234InterFrm extends JInternalFrame {
	private JTextField txtjava;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					Java1234InterFrm frame = new Java1234InterFrm();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public Java1234InterFrm() {
		setIconifiable(true);
		setClosable(true);
		getContentPane().setBackground(Color.WHITE);
		setTitle("关于本系统设计");
		setBounds(100, 100, 450, 300);

		JLabel lblNewLabel = new JLabel("");

		txtjava = new JTextField();
		txtjava.setText("本系统由java1234及老师辅导设计");
		txtjava.setColumns(10);
		GroupLayout groupLayout = new GroupLayout(getContentPane());
		groupLayout.setHorizontalGroup(groupLayout.createParallelGroup(Alignment.LEADING)
				.addGroup(groupLayout.createSequentialGroup()
						.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
								.addGroup(groupLayout.createSequentialGroup().addGap(231).addComponent(lblNewLabel))
								.addGroup(groupLayout.createSequentialGroup().addGap(70).addComponent(txtjava,
										GroupLayout.PREFERRED_SIZE, 274, GroupLayout.PREFERRED_SIZE)))
						.addContainerGap(90, Short.MAX_VALUE)));
		groupLayout.setVerticalGroup(groupLayout.createParallelGroup(Alignment.LEADING).addGroup(groupLayout
				.createSequentialGroup().addGap(73)
				.addComponent(txtjava, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
				.addPreferredGap(ComponentPlacement.UNRELATED).addComponent(lblNewLabel)
				.addContainerGap(104, Short.MAX_VALUE)));
		getContentPane().setLayout(groupLayout);

	}
}
